package sessionbeans;

import javax.ejb.Remote;

@Remote
public interface LoginBeanRemote {

	/**
	 * Checks if the given credentials are present in the database and tells if they refer to a registeered user,
	 * to an administrator or to nobody in the system
	 * @param userId the user's Id
	 * @param password the user's password
	 * @return a String assuming values 'registered', 'admin' or 'not found' depending on the case
	 */
	String verifyCredentials(String userId, String password);
}
